package behavioral.state;

/**
 * @Description: 状态模式测试类
 * @Author: lxt
 * @CreateDate: 2019/11/1
 **/
public class StateTest {
    public static void main(String[] args) {
        Context context = new Context(new PaidState());
        context.changeState();
        context.changeState();
        context.changeState();
        context.changeState();
    }
}
